package com.examination.system.administrator.service;

import com.examination.framework.model.response.QueryResponseResult;
import com.examination.framework.model.response.ResponseResult;
import com.examination.system.administration.Employee;
import com.examination.system.administration.ext.IdentityCardAuthenticationInformation;
import com.examination.system.administration.response.AddAdministrationResult;
import com.examination.system.administration.response.DeleteAdministrationResult;

import java.text.ParseException;

/**
 * @author 寇淇芮
 * @Date 2019/9/15 10:50
 */
public interface EmployeeService {
    QueryResponseResult<Employee> findEmployeeList(Integer page, Integer size);

    AddAdministrationResult addEmployee(Employee employee) throws ParseException;

    DeleteAdministrationResult deleteEmployeeById(String employeeId, Employee employee);

    ResponseResult editEmployeeById(String employeeId, Employee employee);

    IdentityCardAuthenticationInformation identityCardVerificationById(String idNumber);

    ResponseResult checkCellPhoneNumber(String cellPhoneNumber);

    AddAdministrationResult updateEmployee(Employee employee);

    Employee findEmployeeById(String employeeId);
}
